package edu.sctu.zhengsenwen.month201506.day20150618;

/**
 * Created by user15 on 2015/6/18.
 */
public class StaticDemo {

    static int classMember = 1;
    int instanceMember = 2;


    public void setInstanceMember(int x) {
        instanceMember = x;
    }


    public static void setClassMember(int y) {
        classMember = y;
    }


    int getClassMember() {
        return classMember;
    }

    int getInstanceMember() {
        return instanceMember;
    }
}
